package org.hashdb.client.cmd;

import jline.console.UserInterruptException;
import lombok.Data;

/**
 * Date: 2024/1/10 0:49
 *
 * @author huanyuMake-pecdle
 * @version 0.0.1
 */
@Data
public class CommandInterruptHandleCtx {
    private final UserInterruptException exception;
    private String command;
    private boolean continueToRun = true;

    public CommandInterruptHandleCtx(UserInterruptException exception, String command) {
        this.exception = exception;
        this.command = command;
    }
}
